package hsh.gui.comodo;

import java.util.ArrayList;
import java.util.Random;

import javax.swing.ImageIcon;
import javax.swing.JLabel;

public class Office extends Comodo  {

	public Office(JLabel iconMain) {
		super(iconMain);
		
	}

	@Override
	public void buildComodo() {
		
		this.trash = new ArrayList<JLabel>();
		for(int i=0;i<4;i++){
			JLabel temp = new JLabel(new ImageIcon("resources/house/etc/papeis.png"));
			
			double x = 0;
			double y = 0;
			Random r = new Random();
			x = 47+(288-147)*r.nextDouble();
			y = 25 + (288-245)*r.nextDouble();
			temp.setLocation(270,320);
			this.trash.add(temp) ;
			System.out.println("aki");
		}
	
		
	}

	
}
